package com.hskn.hss.module.carTrackOriginal.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hskn.hss.module.carTrackOriginal.entity.CarTrackOriginal;

import java.util.Date;
import java.util.Map;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author hskn
 * @since 2021-05-21
 */
public interface CarTrackOriginalMapper extends BaseMapper<CarTrackOriginal> {
    Integer getNowTotalDistance(Map map);

    Integer getNowTotalPoint(Map map);

    Map getCarTrackData(Map map);

    CarTrackOriginal getPreviousRecordCarTrack(String id, Date date);
}
